package com.cares.user.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import cn.sh.cares.dao.entity.BaseEntity;

@Entity
@Table(name="t_user")
public class UserVO extends BaseEntity implements java.io.Serializable {


	private static final long serialVersionUID = -8058163447253324153L;

	@Id
	@Column(name = "PROXYID", nullable = false)
	private int id;
	
	@Column(name = "USER_NAME", nullable = false)
	private String userName;
	
	@Column(name = "PASSWORD", nullable = false)
	private String password;

	@Column(name = "USERID", nullable = false)
	private String userid;
	
	@Column(name = "DEPTID")
	private String deptid;
	
	@Column(name = "CREATE_TIME")
	private Date createTime;
	
	@Column(name = "CREATOR")
	private String creator;
	
	@Column(name = "UPDATER")
	private String updater;
	
	@Column(name = "UPDATE_TIME")
	private Date updateTime;
	
	@Column(name = "ARCHIVE_FLAG")
	private String archiveFlag;
	
	@Column(name = "AREA")
	private String area;
	
	@Column(name = "DEPTNAME")
	private String deptname;


	public void setId(int id) {
		this.id = id;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getUserid() {
		return userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

	public String getDeptid() {
		return deptid;
	}

	public void setDeptid(String deptid) {
		this.deptid = deptid;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public String getUpdater() {
		return updater;
	}

	public void setUpdater(String updater) {
		this.updater = updater;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getArchiveFlag() {
		return archiveFlag;
	}

	public void setArchiveFlag(String archiveFlag) {
		this.archiveFlag = archiveFlag;
	}

	public String getArea() {
		return area;
	}

	public void setArea(String area) {
		this.area = area;
	}

	public String getDeptname() {
		return deptname;
	}

	public void setDeptname(String deptname) {
		this.deptname = deptname;
	}

	@Override
	public Serializable getId() {
		return this.id;
	}
}